package doit20.sparksql;

import java.io.Serializable;

public class Stu implements Serializable {
    private int id;
    private String name;
    private boolean married;

    public Stu() {
    }

    public Stu(int id, String name, boolean married) {
        this.id = id;
        this.name = name;
        this.married = married;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isMarried() {
        return married;
    }

    public void setMarried(boolean married) {
        this.married = married;
    }
}
